package service;

import pojo.Songs;

import java.util.List;

/**
 * 作者：杨晋
 */
public interface SongsService {
    boolean insert(Songs songs);

    // 更新歌曲
    boolean update(Songs songs);

    List<Songs> getSongsByUploaderId(int uploaderId);
    boolean deleteById(int songId);

    List<Songs> selectSongList(Integer startIndex, Integer targetTotal);

    String getSongPathById(int songId);

    Integer getTotalSongCount();
    Songs selectSongById(int songId);
}
